import matplotlib.pyplot as plt
years = [1949,1959,1969,1979,1989,1999,2009,2019]
population = [54167,67207,80671,95742,112704,125786,133450,140005]
plt.bar(years,population, tick_label = years)
plt.show()